#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package};

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 启动程序
 *
 * @author ruoyi
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class WebApplication
{
    public static void main(String[] args)
    {
//        Nacos2.0版本相比1.X新增了gRPC的通信方式，因此需要增加2个端口。新增端口是在配置的主端口(server.port)基础上，进行一定偏移量自动生成。
//        https://nacos.io/zh-cn/docs/next/v2/upgrading/2.0.0-compatibility/
//        System.out.println(System.getProperty("nacos.server.grpc.port.offset"));
        SpringApplication.run(WebApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  ${parentArtifactId}启动成功 !!!");
    }
}
